﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true"
    CodeFile="tintuc.aspx.cs" Inherits="Admin_tintuc" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="mainy">
        <!-- Page title -->
        <div class="page-title" style="display:none">
            <h2>
                <i class="icon-list color"></i>Form <small>Subtext for header</small></h2>
            <hr>
        </div>
        <!-- Page title -->
        <div class="row">
            <div class="col-md-12">
                <div class="awidget">
                    <div class="awidget-head">
                        <h3>
                            Tin tức</h3>
                    </div>
                    <div class="awidget-body">
                        <div class="form-horizontal" role="form">
                            <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Tiêu đề</label>
                                <div class="col-lg-10">
                                    <asp:TextBox ID=txt_tieu_de runat=server placeholder="Tiêu đề" class="form-control" ></asp:TextBox>
                                </div>
                            </div>
                             <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Nội dung</label>
                                <div class="col-lg-10">
                                  <CKEditor:CKEditorControl 
                                            ID="CKEditorControl1" runat="server">
                                        </CKEditor:CKEditorControl>
                                </div>
                            </div>
                         
                            <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Loại tin</label>
                                <div class="col-lg-10">
                                    <asp:DropDownList ID=dr_lt runat=server class="form-control"></asp:DropDownList>
                                </div>
                            </div> 
                            <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Thứ tự</label>
                                <div class="col-lg-10">
                                    <asp:TextBox ID=txt_thutu runat=server placeholder="Thứ tự" Text=1 class="form-control" ></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <hr>
                                        <asp:Button ID=btn_luu runat=server Text="Lưu" class="btn btn-default" 
                                        onclick="btn_luu_Click" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
